package org.example.weboj.service;

import org.example.weboj.dto.AIChatRequest;
import org.springframework.web.socket.WebSocketSession;

/**
 * 流式AI聊天服务接口
 * 通过WebSocket提供流式响应
 */
public interface AIStreamChatService {
    /**
     * 启动与AI的流式聊天
     * @param request 聊天请求
     * @param session WebSocket会话
     */
    void streamChat(AIChatRequest request, WebSocketSession session);
}